package org.jeecg.modules.car.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import org.apache.ibatis.annotations.Param;
import org.jeecg.entity.car.CarUrlConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 车场公共平台接口地址配置
 * @Author: jeecg-boot
 * @Date:   2021-06-16
 * @Version: V1.0
 */
public interface CarUrlConfigMapper extends BaseMapper<CarUrlConfig> {

    @SqlParser(filter = true)
    CarUrlConfig getByUrlType(@Param("parkId") String parkId,@Param("urlType") Integer urlType);

    @SqlParser(filter = true)
    void updateSyncStatus(@Param("id") String id,@Param("syncStatus") Boolean syncStatus);
}
